path = './resource/labels.txt'
herbs = {}
with open(path, 'r', encoding='utf-8') as file:
    for line in file:
        line = line.strip()
        parts = line.split(maxsplit=1)
        if len(parts) == 2:
            herb_id, herb_name = parts
            herbs[herb_id] = herb_name
for id, name in herbs.items():
    print(type(id))
    print(f"{id}  {name}")
    break
print(herbs[str(0)])
